package com.hcc.gateway.app.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * HccGatewayConfig
 *
 * @author hushengjun
 * @date 2021/12/25
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "hcc.gateway.config")
public class HccGatewayConfig {

    private Integer bossThreads;
    private Integer workerThreads;
    private String proxyPrefix;
    private String host;
    private Integer port;
    private List<String> whiteIps;

}
